import {createApp} from "vue";
import App from "./App.vue";
import router from "./router";
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
import * as ElementPlusIconsVue from "@element-plus/icons-vue";
import store from "./store";
import permission from "./permission";

var vue = createApp(App);
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  vue.component(key, component);
}
vue.use(store).use(router).use(ElementPlus).use(permission).mount("#app");
